#ifndef COMPUTETHREAD_HH
#define COMPUTETHREAD_HH

#include "../library/thread.hh"
#include "../library/socket.hh"

using namespace std;
using namespace NM;

class ComputeThread : Thread
{
private: // variables
    Socket *_client;
    Socket *_server;
    int _serverId;

public: // interface
    ComputeThread();

    void Start();
    void Stop();

    void loop();
};

void *compute_thread_starter(void *data);

#endif // COMPUTETHREAD_HH
